package com.ruoyi.module.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 跟踪对象 fu_track
 *
 * @author fubojin
 * @date 2024-12-26
 */
@Data
@ApiModel(value = "跟踪")
@EqualsAndHashCode(callSuper = true)
public class Track extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 需跟踪客户ID
     */
    @Excel(name = "需跟踪客户户ID")
    @ApiModelProperty(value = "需跟踪客户ID")
    private Long userId;

    /**
     * 需跟踪客户名称
     */
    @Excel(name = "需跟踪客户名称")
    @ApiModelProperty(value = "需跟踪客户名称")
    private String userName;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private Long trackUserId;

    /**
     * 用户名称
     */
    @Excel(name = "用户名称")
    @ApiModelProperty(value = "用户名称")
    private String trackUserName;

    /**
     * 跟踪类型（1-电话跟踪，2-网络跟踪，3-远程跟踪）
     */
    @Excel(name = "跟踪类型", readConverterExp = "1=-电话跟踪，2-网络跟踪，3-远程跟踪")
    @ApiModelProperty(value = "跟踪类型（1-电话跟踪，2-网络跟踪，3-远程跟踪）")
    private Integer type;

    /**
     * 跟踪内容
     */
    @Excel(name = "跟踪内容")
    @ApiModelProperty(value = "跟踪内容")
    private String text;

    /**
     * 跟踪时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "跟踪时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "跟踪时间")
    private Date trackTime;

    /**
     * 跟踪时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "跟踪时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "跟踪时间")
    private Date nextTrackTime;


}
